<?php

use Illuminate\Database\Eloquent\ModelNotFoundException as ModelNotFoundException;

class AdminTotalController extends AdminController {

	public function getIndex($type = 'customer')
	{
		$model = new Total;
		$result = $model->getAll($type);

		$data = array('result' => $result);

		$this->layout->title = trans('customer.create_customer');
		$this->layout->content = View::make('admin.total.index', $data);
	}
}
